<template>
  <div class="">
    <h2>已付款组件</h2>
    <van-card
      v-for="item in $store.state.goods"
      v-show="item.state == 2"
      :key="item.id"
      :price="item.price"
      :desc="item.subscribe"
      :title="item.name"
      thumb="https://img01.yzcdn.cn/vant/ipad.jpeg"
    >
      <template #footer>
        <van-button type="primary" size="small" @click="item.state = 3"
          >发货</van-button
        >
      </template>
    </van-card>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  mounted() {},
  methods: {},
  components: {},
};
</script>

<style lang="scss"></style>
